package com.edu.dsai.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.edu.dsai.domain.User;
import com.edu.dsai.service.UserService;
import com.edu.dsai.mapper.UserMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
/**
 * @author Administrator
 * @description 针对表【sys_user】的数据库操作Service实现
 * @createDate 2025-09-26 09:11:17
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public User login(String username, String password) {
        /*
         * 进行需要的业务逻辑处理
         * */
        // 完成业务逻辑处理后，将用户名和密码传输给mapper
        return userMapper.login(username, password);
    }
}




